package com.ltw.playit.web.server.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;


@Service
public class BaseService {
	@Autowired
    RestTemplate restTemplate;
	
	public String retrieveVedioSummary() {
        return restTemplate.getForObject("http://playit-online-vedio/vedio-summary",String.class);
    }
}
